<?php
if (isset($_COOKIE["admin"])){
  include("theme/index.html"); 
}else{
    echo"<script type="."\""."text/javascript"."\"".">"."window.location="."\""."./login.php"."\""."</script>";
    }
?>